
.Main{
    display: flex;
}

.Sidebar{
    justify-content: space-around;
    border: 3px solid black;
    width:300px;
    height:550px;
    margin:1rem auto;
    text-align: justify;
    display: flex;
    flex-direction: column;
}


.Sidebar + .banner-container{
    margin-left: -150px;
}

.Sidebar h1{
    font-size: 30px;
}
.banner-container{
    border: 3px solid black;
    width:1000px;
    height:550px;
    margin:1rem auto;
    overflow: hidden;
    display: inline-block;
}
.title + .Main{
    margin-top: -30px;
}
.banner-container .banner-img-container {
    width:5000px;
    height:550px;
    overflow: hidden;
    display: flex;
    transition: transform 0.6s ease;
}


.banner-container .banner-img-container  img{
    width:100%;
    height:100%;
}

/* 轮播图圆点样式 */

.banner-container a {
    width:24px;
    height:24px;
    background:#87c8eb;
    position: absolute;
    bottom:15rem;
    border-radius: 100%;
    margin:0;
    z-index: 1;
}

.banner-container input{
    width:24px;
    height:24px;
    position: absolute;
    bottom:15rem;
    margin:0;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
}


/* 设置导航圆点偏移量（居中布局）*/
#banner-control-1,#banner-control-1 + .banner-nav-a{
    left: 38%;
}
#banner-control-2,#banner-control-2 + .banner-nav-a{
    left: 48%;
}
#banner-control-3,#banner-control-3 + .banner-nav-a{
    left: 58%;
}
#banner-control-4,#banner-control-4 + .banner-nav-a{
    left: 68%;
}
#banner-control-5,#banner-control-5 + .banner-nav-a{
    left: 78%;
}

/* 设置高亮 */
/*当 input 被选中时 他的兄弟级a标签高亮展示*/
input:checked + .banner-nav-a {
    background-color: #ad244f;
}

/* 设置轮播图动画 */
#banner-control-1:checked ~ .banner-img-container{
    transform: translateX(0px);
}
#banner-control-2:checked ~ .banner-img-container{
    transform: translateX(-1000px);
}
#banner-control-3:checked ~ .banner-img-container{
    transform: translateX(-2000px);
}
#banner-control-4:checked ~ .banner-img-container{
    transform: translateX(-3000px);
}
#banner-control-5:checked ~ .banner-img-container{
    transform: translateX(-4000px);
}

.background1 {
    position: fixed;
    top: 10%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    object-fit: cover;
}

.inform{
    position: fixed;
    left:1300px;
    width: 350px;
    max-height: 350px;           /* 设置最大高度，当高度达到此值时出现滚动条 */
    z-index: 10;
    background-color: #E0E5E5;
    word-wrap: break-word;
    box-shadow:0px 0px 10px #000;   /* 外阴影 */
    /*display: none;   /* 默认隐藏 */
}
.inform hr{
    border:1px;
    width: 325px;
    margin-bottom: 0px;
}


